﻿using System;
using System.Collections.Generic;
using System.Text;
using Tauren.File.Entity.Global;
using Tauren.File.Entity.Model;

namespace Tauren.File.DLL.FileIODLL
{
    /// <summary>
    /// 文件IO操作
    /// </summary>
    public interface IFileIOBusiness
    { /// <summary>
      /// 判断文件是否达到最大
      /// </summary>
      /// <param name="model"></param>
      /// <returns></returns>
        bool IsFileMaxFolder(Physicalhistory model);
        /// <summary>
        /// 创建文件
        /// </summary>
        /// <param name="files"></param>
        /// <returns></returns>
        Files MakeFile(Files files, Physicalhistory physicalhistory);
        /// <summary>
        /// 进行OnlyOffice数据回调结构
        /// </summary>
        /// <param name="fileid"></param>
        /// <returns></returns>
        FilesVersion TrackFile(Files files, OutOfficeConfigModel fileData);
        /// <summary>
        /// 创建上传文件
        /// </summary>
        /// <param name="files"></param>
        /// <returns></returns>
        Files MakeUploadFile(Files files, Physicalhistory physicalhistory);
    }
}
